package com.supermarket.shop.system.dao;

import com.supermarket.shop.system.domain.Vip;

import java.io.IOException;
import java.util.ArrayList;

public interface VipDao {
    public ArrayList<Vip> BufferedReaderFile() throws IOException;
    public void BufferedWriterFile(Vip vip) throws IOException ;
    public boolean isExist(String name) throws IOException;
    public abstract Integer maxCommodityId() throws IOException;
    public abstract boolean addVip(Vip vip) throws IOException;
    public abstract void findAllVip() throws IOException;
    public abstract void deleteVipByName(String name)throws IOException;
    public abstract void updateVipByname(Vip vip, String nameupdate)throws IOException;



}
